﻿using System;
using System.Collections.Generic;
using System.Data.Linq.Mapping;
using System.Linq;
using System.Text;

namespace Persistencia.Tabelas
{
    [Table(Name = "OrdemServico")]
    class OrdemsServicos:Context
    {
        [Column(IsPrimaryKey = true, IsDbGenerated = true)]
        public int Codigo { get; set; }
        [Column]
        public int CodPessoa { get; set; }
        [Column]
        public int Pedido { get; set; }
        [Column]
        public int Lote { get; set; }
        [Column]
        public DateTime DataAbertura { get; set; }
        [Column]
        public DateTime DataFechamento { get; set; }
        [Column]
        public string Situacao { get; set; }
        [Column]
        public decimal ValorMaterial { get; set; }
        [Column]
        public decimal ValorServico { get; set; }
        [Column]
        public decimal ValorImovel { get; set; }
        [Column]
        public decimal ValorTotal { get; set; }
        [Column]
        public DateTime PrevisaoEntrega { get; set; }
        [Column]
        public DateTime DataEntrega { get; set; }
        [Column]
        public string NomeResponsavel { get; set; }
        [Column]
        public string AutorizadoPor { get; set; }
        [Column]
        public string ReclamacaoCliente { get; set; }
        [Column]
        public string ObservacaoOs { get; set; }

    }
}
